package com.example.sup.service;

import com.example.sup.entity.ElectricityConsumptionInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sup.vo.ElectricityConsumptionInfoVO;

import java.util.List;

/**
* @author mac
* @description 针对表【electricity_consumption_info】的数据库操作Service
* @createDate 2024-07-19 10:05:16
*/
public interface ElectricityConsumptionInfoService extends IService<ElectricityConsumptionInfo> {
    /**
     * 统计每日每个监室的总电耗
     * @param prisonId 监室id
     * @return
     */
    List<ElectricityConsumptionInfoVO> totalElectricityConsumption(Integer prisonId);
}
